package com.mytijian.task.zookeeper.path;

import com.mytijian.task.util.IpAddressUtil;

public class NodePath {

    public static String node = "/node";
    public static String nodeIp = node + "/" + IpAddressUtil.getLocalHost();
    public static String getNodeLocalIpAndPort(Integer port) {
        return nodeIp + ":" + port;
    }
}
